package com.kgc.itrip.service;
import com.kgc.itrip.common.Page;
import com.kgc.itrip.pojo.ItripComment;
import com.kgc.itrip.pojo.ItripUser;
import com.kgc.itrip.vo.comment.ItripAddCommentVO;
import com.kgc.itrip.vo.comment.ItripListCommentVO;
import com.kgc.itrip.vo.comment.ItripScoreCommentVO;

import java.util.Map;

/**
* Created by shang-pc on 2015/11/7.
*/
public interface ItripCommentService {

    public ItripComment getItripCommentById(Long id)throws Exception;

    /*public List<ItripComment>	getItripCommentListByMap(Map<String,Object> param)throws Exception;*/

    public Integer getItripCommentCountByMap(Map<String,Object> param)throws Exception;

    public Integer itriptxAddItripComment(ItripAddCommentVO commentVO, ItripUser itripUser)throws Exception;

    public Integer itriptxModifyItripComment(ItripComment itripComment)throws Exception;

    public Integer itriptxDeleteItripCommentById(Long id)throws Exception;

    public Page<ItripListCommentVO> queryItripCommentPageByMap(Map<String,Object> param, Integer pageNo, Integer pageSize)throws Exception;

        ItripScoreCommentVO queryItripHotelScore(Long hotelId)throws Exception;
}
